/**
 * 
 */
package com.douyu.ocean.recom.platform.api.model;

import java.io.Serializable;
import java.util.List;
import java.util.Map;

/**
 * @author leiruiqi
 *
 */
public class RuleTemplate implements Serializable{

	/**
	 * 位置编码
	 */
	private String posCode;
	
	/**
	 * 规则编码
	 */
	private String ruleCode;

	
	/**
	 * 算法数据源集合，根据bypassExpression计算后从中选择唯一的数据源
	 */
	private List<OceanResultSource> sourceList;
	
	/**
	 * 规则表达式
	 */
	private String bypassExpression;
	
	/**
	 * 规则配置的默认参数
	 */
	private Map<String,String> ruleParamMap;
	
	/**
	 * 业务的场景参数（可以用来覆盖算法配置的默认参数）
	 */
	private Map<String,String> bizParamMap;

	

	public List<OceanResultSource> getSourceList() {
		return sourceList;
	}

	public void setSourceList(List<OceanResultSource> sourceList) {
		this.sourceList = sourceList;
	}

	public Map<String, String> getRuleParamMap() {
		return ruleParamMap;
	}

	public void setRuleParamMap(Map<String, String> ruleParamMap) {
		this.ruleParamMap = ruleParamMap;
	}

	public String getPosCode() {
		return posCode;
	}

	public void setPosCode(String posCode) {
		this.posCode = posCode;
	}

	public String getRuleCode() {
		return ruleCode;
	}

	public void setRuleCode(String ruleCode) {
		this.ruleCode = ruleCode;
	}

	public String getBypassExpression() {
		return bypassExpression;
	}

	public void setBypassExpression(String bypassExpression) {
		this.bypassExpression = bypassExpression;
	}

	public Map<String, String> getBizParamMap() {
		return bizParamMap;
	}

	public void setBizParamMap(Map<String, String> bizParamMap) {
		this.bizParamMap = bizParamMap;
	}

	
}
